package com.xbfinal.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Title: OneSubject
 * @Author 笑霸fianl
 * @Package com.xbfinal.eduservice.entity.subject
 * @Date 2023/1/7 13:54
 * @描述: 一级分类
 */
@Data
public class OneSubject {

    private  String id;

    private String title;

    private List<TwoSubject> children = new ArrayList<>();
}
